package br.com.advance.automacao.services;

import java.util.List;

import br.com.advance.automacao.model.Erro;
import br.com.advance.automacao.services.exceptions.ValidationException;

public interface ErroService {

	Erro buscarErroPorCodigoClp(Long idCLP, String codigo);

	Erro criar(Erro erro) throws ValidationException;

	Erro atualizar(Erro erro) throws ValidationException;

	Erro buscarPorId(Long id);

	List<Erro> buscarErroPorClp(Long idCLP);

}
